﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JEdwonTune.Lib {
    public class EntityEO {
        private String _AssemblyName;
        public String AssemblyName {
            set { _AssemblyName = value; }
            get { return _AssemblyName; }
        }
        private Type _Type;
        public Type Type {
            set { _Type = value; }
            get { return _Type; }
        }
        private String _HbmFile;
        public String HbmFile {
            set { _HbmFile = value; }
            get { return _HbmFile; }
        }
        private String _ImplModel;
        public String ImplModel {
            set { _ImplModel = value; }
            get { return _ImplModel; }
        }

        public String PrivateStatus {
            get {
                return (_Type.IsPublic) ? "Yes" : "";
            }
        }

        public String TypeShortName {
            get {
                return _Type.FullName.Replace(_AssemblyName+".", "");
            }
        }
    }
}
